﻿using System;
using OA.DBUtility;
namespace OA.Model
{
    /// <summary>
    /// ReimbursementBusinessTravelInfo:实体类(属性说明自动提取数据库字段的描述信息)
    /// </summary>
    [Serializable]
    [MappingTable("ReimbursementBusinessTravel")]
    public partial class ReimbursementBusinessTravelInfo
    {
        public ReimbursementBusinessTravelInfo()
        { }
        #region Model
        private int _id;
        private int _reimbursementid;
        private DateTime? _businesstravelstart;
        private DateTime? _businesstraveend;
        /// <summary>
        /// 
        /// </summary>
        [DataField("Id")]
        [PrimaryKey(PKBuildType.AutoIncrease)]
        public int Id
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 
        /// </summary>
        [DataField("ReimbursementId")]
        public int ReimbursementId
        {
            set { _reimbursementid = value; }
            get { return _reimbursementid; }
        }
        /// <summary>
        /// 
        /// </summary>
        [DataField("BusinessTravelStart")]
        public DateTime? BusinessTravelStart
        {
            set { _businesstravelstart = value; }
            get { return _businesstravelstart; }
        }
        /// <summary>
        /// 
        /// </summary>
        [DataField("BusinessTraveEnd")]
        public DateTime? BusinessTraveEnd
        {
            set { _businesstraveend = value; }
            get { return _businesstraveend; }
        }

        [DataField("BusinessTraveAddress")]
        public string BusinessTraveAddress { get; set; }

        [DataField("BusinessTraveAmount")]
        public decimal BusinessTraveAmount { get; set; }

        [DataField("BusinessTraveDayCount")]
        public float BusinessTraveDayCount { get; set; }

        #endregion Model

    }
}

